import request from '@/utils/request'

const baseApi = process.env.VUE_APP_BASE_API + '/course/homework'

export function listByCourse(courseId) {
  return request({
    url: `${baseApi}/list`,
    method: 'get',
    params: { courseId }
  })
}
